package com.lingkang.ztauthserver.data.mapper;

import com.lingkang.ztauthserver.data.entity.Roles;
import java.util.List;

/**
 * @author  linke
 * @date  2020/11/12 22:40
 * @description
 */
public interface RolesMapper {
    int deleteByPrimaryKey(Integer id);

    int insertSelective(Roles record);

    Roles selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Roles record);

    List<Roles> getRoles(String username);
}
